package mvc.com.models
{
	import flash.display.MovieClip;
	
	import mvc.com.events.CustomEvent;

	public class ModelAddMessage extends MovieClip
	{
		var evtCustom:CustomEvent;
		public function ModelAddMessage()
		{
			super();
		}
		/* do add message */
		public function doAdd():void
		{
			evtCustom=new CustomEvent("onAddMessage");
			evtCustom.message="Add message success!";
			dispatchEvent(evtCustom);
		}
		/* do remove message */
		public function doRemove():void
		{
			evtCustom=new CustomEvent("onAddMessage");
			evtCustom.message="Remove message success!";
			dispatchEvent(evtCustom);
		}
	}
	/* End Class */
}